/*
//
// Copyright (c) Autodesk, Inc. All rights reserved
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
//
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
// Forge Extractor
// by Cyrille Fauvel - Autodesk Developer Network (ADN)
//
*/
header { /* maria-base-theme.css reset */
    position: static;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}

.center { text-align: center; }
.noshow { display: none; }
.modeless { top:10%; left:50%; bottom:auto; right:auto; margin-left:-300px; }
.panel.app-panel-default {
	/*margin-bottom: 20px;*/
	margin-bottom: 0px;
	background-color: #fff;
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	box-shadow: none;
	transition: none;
}

/* File upload progress */
/* https://css-tricks.com/html5-progress-element/ */
div.list-group div.alert { min-height: 45px; height: 45px; }
div.list-group div.alert i.fa { margin-top: -7px; }
div.list-group div.alert div.flow-file-name { margin-top: -2px; }
div.list-group div.alert progress[value] {
	appearance: none; /* Get rid of the default appearance */
	border: none; /* This unfortunately leaves a trail of border behind in Firefox and Opera. We can remove that by setting the border to none. */
	width: 100%; height: 20px; /* Add dimensions */
	position: relative;
	margin: 0 0 1.5em;
	/* Although firefox doesn't provide any additional pseudo class to style the progress element container, any style applied here works on the container. */
	background-color: whiteSmoke; border-radius: 3px; box-shadow: 0 2px 3px rgba(0,0,0,.5) inset;
	/* Of all IE, only IE10 supports progress element that too partially. It only allows to change the background-color of the progress value using the 'color' attribute. */
	color: royalblue;
}
/* Webkit browsers provide two pseudo classes that can be use to style HTML5 progress element.
   -webkit-progress-bar -> To style the progress element container
   -webkit-progress-value -> To style the progress element value.
*/
div.list-group div.alert progress[value]::-webkit-progress-bar {
	background-color: whiteSmoke; border-radius: 3px; box-shadow: 0 2px 3px rgba(0,0,0,.5) inset; }
div.list-group div.alert progress[value]::-webkit-progress-value {
	position: relative; background-size: 35px 20px, 100% 100%, 100% 100%; border-radius:3px; animation: animate-stripes 5s linear infinite; }
@keyframes animate-stripes { 100% { background-position: -100px 0; } }
div.list-group div.alert progress[value]::-webkit-progress-value:after { /* Only webkit/blink browsers understand pseudo elements on pseudo classes. A rare phenomenon! */
	content: ''; position: absolute; width:5px; height:5px; top:7px; right:7px; background-color: white; border-radius: 100%; }
div.list-group div.alert progress[value]::-moz-progress-bar { /* Firefox provides a single pseudo class to style the progress element value and not for container. -moz-progress-bar */
	background-image:
			-moz-linear-gradient(135deg, transparent, transparent 33%, rgba(0,0,0,.1) 33%, rgba(0,0,0,.1) 66%, transparent 66%),
			-moz-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0,0,0,.2)),
			-moz-linear-gradient(left, #09c, #f44);
	background-size: 35px 20px, 100% 100%, 100% 100%; border-radius:3px;
	/* Firefox doesn't support CSS3 keyframe animations on progress element. Hence, we did not include animate-stripes in this code block */
}
div.list-group div.alert .jquery::-webkit-progress-value {
	background-image:
			-webkit-linear-gradient(135deg, transparent, transparent 33%, rgba(0,0,0,.1) 33%, rgba(0,0,0,.1) 66%, transparent 66%),
			-webkit-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0,0,0,.2)),
			-webkit-linear-gradient( left, #09c, #690);
}
div.list-group div.alert .jquery::-moz-progress-bar {
	background-image:
			-moz-linear-gradient(135deg, transparent, transparent 33%, rgba(0,0,0,.1) 33%, rgba(0,0,0,.1) 66%, transparent 66%),
			-moz-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0,0,0,.2)),
			-moz-linear-gradient(left, #09c, #690);
}

/* Navigation */
.nav-tabs {
	background-color: #05a7df;
}
.nav-tabs > li > a,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
	color: #fff;
}
.nav-tabs > .open > a,
.nav-tabs > .open > a:hover,
.nav-tabs > .open > a:focus,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
	color: #fff;
	background-color: #3071a9;
	border-color: transparent;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	color: #428bca;
	background-color: #fff;
	border-color: #428bca;
	border-bottom-color: transparent;
}
.nav-tabs > li.dropdown .dropdown-menu {
	background-color: #428bca;
	border-color: #3071a9;
}
.nav-tabs > li.dropdown .dropdown-menu > li > a {
	color: #fff;
}
.nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
.nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
	background-color: #3071a9;
}
.nav-tabs > li.dropdown .dropdown-menu > .active > a,
.nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
.nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
	background-color: #4a9fe9;
}

/* http://jsfiddle.net/rensdenobel/sRmLV/13/ */
#MaintenanceMsg, #HelpMsg {
    width: 50%;
    margin: 0 auto;
}

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
}
